﻿@{string action = Request.RequestContext.RouteData.Values["action"].ToString();}
@model Common.Contract.Authentication.Record.UserRecord
@if (Model.GroupIdentifier == "3")
{
    <ul class="nav nav-tabs bar_tabs sme-tabs" role="tablist">
        @if (action.ToUpper() == "KPIS")
        {
            <li id="cm-tc-tc-tab" role="presentation" class="active">
                @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.KpiPerson.ToUpper(), "Kpis", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
            </li>
        }
        else
        {
            <li id="cm-tc-tc-tab" role="presentation" class="">
                @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.KpiPerson.ToUpper(), "Kpis", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
            </li>
        }
        @if (action.ToUpper() == "KPIBRANCH")
        {
            <li id="cm-tc-nc-tab" role="presentation" class="active">
                @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.KpiBranch.ToUpper(), "KpiBranch", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
            </li>
        }
        else
        {
            <li id="cm-tc-nc-tab" role="presentation" class="">
                @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.KpiBranch.ToUpper(), "KpiBranch", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
            </li>
        }
        @*@if (Model.GroupIdentifier != "3")
        {
            if (action.ToUpper() == "KPIREGION")
            {
                <li id="cm-tc-nc-tab" role="presentation" class="active">
                    @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.KpiRegion.ToUpper(), "KPIRegion", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
                </li>
            }
            else
            {
                <li id="cm-tc-nc-tab" role="presentation" class="">
                    @Html.ActionLink(@SMECustomerWebsite.Core.Resources.Resource.KpiRegion.ToUpper(), "KPIRegion", "SalePerformance", new { dao = Request.QueryString["dao"] }, null)
                </li>
            }
        }*@
    </ul>
}